﻿package org.xhs.ui.events
{
    import flash.events.*;

    public class BUIEvent extends Event
    {
        public var data:Object;
        public static const SIZE_CHANGE:String = "sizeChange";
        public static const POSITION_CHANGE:String = "positionChange";
        public static const VISIABLE_CHANGE:String = "visiableChange";
        public static const SELECTED_CHANGE:String = "selectedChange";
        public static const LABEL_CHANGE:String = "labelChange";
        public static const BUTTON_REPEAT:String = "buttonRepeat";
        public static const ENTER:String = "enter";

        public function BUIEvent(param1:String, param2:Boolean = false, param3:Boolean = false)
        {
            super(param1, param2, param3);
            return;
        }// end function

        override public function toString() : String
        {
            return formatToString("BUIEvent", "type", "bubbles", "cancelable");
        }// end function

        override public function clone() : Event
        {
            var _loc_1:* = new BUIEvent(type, bubbles, cancelable);
            _loc_1.data = this.data;
            return _loc_1;
        }// end function

    }
}
